<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>有来详情</title>
    <script src="./jquery.js"></script>
</head>
<body>
内容请求中...
<script>
    $(function(){
        $.ajax({
            //请求地址
            url : '/index.php/jobs/jiankang_arc/info',
            //请求成功
            success : function(data) {
                if(data == "nodata"){
                    alert("完事了");
                }else if(data == "error"){
                    window.location.href='/jiankan_arc.html';
                }else{
                    window.location.href='/jiankan_arc.html';
                }
            },
            //请求失败，包含具体的错误信息
            error : function(e){
                window.location.href='/jiankan_arc.html';
            }
        });
    })
    function getQueryVariable(variable)
    {
        var query = window.location.search.substring(1);
        var vars = query.split("&");
        for (var i=0;i<vars.length;i++) {
            var pair = vars[i].split("=");
            if(pair[0] == variable){return pair[1];}
        }
        return(false);
    }
</script>
</body>
</html>